Simplified code in GtkSizeGroup, fixes minimum natural size.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 8 Apr 2010 22:49:34 +0000 (18:49 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 8 Apr 2010 22:49:34 +0000 (18:49 -0400)
commit1706608de3e23afeef6eb94275850b5ade9df15b
treecd4fb44ac2a5dc68b977bdda54cf4ffc5df322d3
parent36ef655061aa120f65f99ff8abd502cb6df5c195
Simplified code in GtkSizeGroup, fixes minimum natural size.

collapse get_fast_child_requisition && get_fast_natural_size into
a single get_fast_size() function which uses the possibly hard coded
minimum request as a minimum value for the returned desired size
(this fixes cases where widgets unwarily return height-for-width
with minimum size > natural size).
gtk/gtksizegroup.c